package com.ld.security.tool.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(name = "ss",url = "https://devadmin.nowbook.sup.services/")
public interface TestFeign {

    @RequestMapping(value = "/api/ads/adsSchedule/getAdsSchedules",method = RequestMethod.POST)
    Map getAdsSchedules(@RequestBody Map map);
}

